import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { BrowserRouter, Route } from 'react-router-dom';
// import Hello from './components/Hello';
import App from './containers/App/index';
import TopicDetail from './containers/Topic/index';

ReactDOM.render(
  <BrowserRouter>
    <div>
      <Route path="/" component={App} compiler="TypeScript" framework="React"></Route>
      <Route path="/detail/:id" component={TopicDetail} compiler="TypeScript" framework="React"></Route>
    </div>
  </BrowserRouter>,
  document.getElementById('example')
);